package com.leinao.images.dto;

import java.io.Serializable;

/**
 * 镜像实体
 *
 * @author  suqiliang
 * @date 2019年04月18日 下午2:29:54
 *
 */
public class ImagesDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3088114029610618241L;

	/**
	 * ID
	 */
	private Long id;

	/**
	 * 编号
	 */
    private String number;

	/**
	 * 镜像名称
	 */
	private String name;

	/**
	 * 类型: 1-默认提供，2-推荐提供
	 */
    private Integer type;

	/**
	 * 路径,会拼接domain
	 */
    private String path;

	/**
	 * 提供者
	 */
    private String provider;

	/**
	 * 创建时间
	 */
    private Long createTime;

	/**
	 * 创建时间
	 */
	private Long updateTime;


	/**
	 * 用户Id
	 */
	private String userId;

	/**
	 * 镜像简介
	 */
	private String content;

	/**
	 * 镜像mk简介
	 */
	private String contentMk;

	/**
	 * 域名
	 */
	private String domain;

	/**
	 * 镜像大小
	 */
	private String size;

	/**
	 * 镜像使用次数
	 */
	private Integer useCount;

	/**
	 * 类型: 1-创建中，2-创建完成
	 */
	private Integer status;

	/**
	 * 文件内容
	 */
	private String fileContent;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getProvider() {
		return provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContentMk() {
		return contentMk;
	}

	public void setContentMk(String contentMk) {
		this.contentMk = contentMk;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public Integer getUseCount() {
		return useCount;
	}

	public void setUseCount(Integer useCount) {
		this.useCount = useCount;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getFileContent() {
		return fileContent;
	}

	public void setFileContent(String fileContent) {
		this.fileContent = fileContent;
	}

	@Override
	public String toString() {
		return "ImagesDto [id=" + id + ", number=" + number + ", name=" + name + ", type=" + type + ", path=" + path + ", provider="
				+ provider + ", createTime=" + createTime + ", updateTime=" + updateTime + ", userId=" + userId + ", content=" + content +
				", content_mk=" + contentMk + ", userCount=" + useCount + ", size=" + size + ", domain=" + domain + ", status=" + status +  ", fileContent=" + fileContent + "]";
	}
	
}
